package com.jgp.glmeeting.mobile.commons;

public enum ErrorMsg {
    INVALID_PARAM(401, "参数错误"),
    GET_WE_USER_INFO_FAIL(402, "获取微信用户openId失败"),
    GET_PARTICIPANTS_FAIL_BY_MOBILEPHONE(403, "根据手机号无法找到该参会人员或主管"),
    MEETING_NOT_FOUND(405, "没有查询到会议信息"),
    SERVER_ERROR(500, "服务器异常");

    private int code;
    private String errorMsg;

    private ErrorMsg(int code, String errorMsg){
        this.code = code;
        this.errorMsg = errorMsg;
    }

    public int getCode() {
        return code;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

}
